#pragma warning(disable:4996)
#pragma warning(disable:6031)

#include <iostream>
#include <string>
using namespace std;

int main()
{
	/*string a = "hello";
	cout << a.find('e') << endl;

	a.replace(1, 1, 1, 'a');
	cout << a << endl;

	a.erase(3);
	cout << a << endl;*/

	/*string a = "aaaa";
	string b = "ssss";
	a.swap(b);
	cout << a << endl;
	cout << b << endl;*/

	string str = "hello";
	cout << str.capacity() << endl;
	str.clear();
	cout << str.capacity() << endl;
	cout << str.c_str() << endl;
	return 0;
}